package com.sc.nft.entity.vo;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.ClassifyType;
import com.sc.nft.enums.OrderStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
public class RoughStoneOrderVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @ExcelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty(value = "下单数量")
    @ExcelProperty("下单数量")
    private Integer count;

    @ApiModelProperty(value = "商品类型")
    @ExcelIgnore
    private ClassifyType typeClassify;

    @ExcelProperty("商品类型")
    private String typeClassifyText;

    @ApiModelProperty(value = "一级标题")
    @ExcelProperty("一级标题")
    private String firstTitle;

    @ApiModelProperty(value = "封面图片地址")
    @ExcelProperty("封面图片地址")
    private String imageUrl;

    @ApiModelProperty(value = "商品价格")
    @ExcelProperty("商品价格")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "状态")
    @ExcelIgnore
    private OrderStatusEnum status;
    @ExcelProperty("状态")
    private String statusText;

    @ApiModelProperty(value = "下单时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "订单关闭时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("订单关闭时间")
    private Date closeTime;

    @ApiModelProperty(value = "付款时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("付款时间")
    private Date payTime;

    @ApiModelProperty("昵称")
    @ExcelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    @ExcelProperty("手机号")
    private String userTel;

}
